package Abstraction;

public class LabtopComputer extends GenericComputer {
	private int batteryStatus;
	
	public LabtopComputer(int batteryStatus ){
		this.batteryStatus = batteryStatus;
	}
	public void boot(){
		if (batteryStatus <= 10){
			turnedOn = false;
			System.out.println("low batterylevel");
		} else {
			System.out.println("Booting labtop");
		}
		
	}
	
	private int getBatteryStatus(){
		return batteryStatus;
	}

}
